package com.link.base.base.clue.dao.mybatis.mapper;

import com.link.base.base.clue.model.Clues;
import com.link.core.basic.dao.mapper.BasicMapper;
/**
 * Copyright  hande Company. All Rights Reserved.
 *
 * @author  LiYang
 * @date:   2018/11/8 16:57
 * @version 1.0
 */

public interface ClueMapper extends BasicMapper<Clues> {

    /**
     * 跟进线索：根据Id跟进线索
     *
     * @param clue
     * @throws Exception
     */
    public void clueFollowUpdate(Clues clue) throws Exception;

    /**
     * 撤回线索：根据Id撤回线索
     *
     * @param clue
     * @throws Exception
     */
    public void clueRecallUpdate(Clues clue) throws Exception;

    /**
     * 完成线索：根据Id完成线索
     *
     * @param clue
     * @throws Exception
     */
    public void clueFinishUpdate(Clues clue) throws Exception;

    /**
     * 取消线索：根据Id取消线索
     *
     * @param clue
     * @throws Exception
     */
    public void clueCancelUpdate(Clues clue) throws Exception;

}
